package org.skyve.impl.cdi;

import java.io.Serializable;

import org.skyve.CORE;
import org.skyve.domain.number.NumberGenerator;

public class NumberGeneratorInjectable implements NumberGenerator, Serializable {
	private static final long serialVersionUID = -7226319192709654523L;

	@Override
	public String next(String prefix, String moduleName, String documentName, String fieldName, int minimumLength) {
		return CORE.getNumberGenerator().next(prefix, moduleName, documentName, fieldName, minimumLength);
	}
}
